package org.bingo.sell.repository;

import org.bingo.sell.dataobject.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 订单主表repository
 */
public interface OrderMasterRepository extends JpaRepository<OrderMaster, String> {

    /** 根据买家openid查询订单 .*/
    Page<OrderMaster> findByBuyerOpenid(String openid, Pageable pageable);
}
